package com.scott.crm.role.service.impl;

import com.scott.crm.role.RoleDao;
import com.scott.crm.role.bean.RoleBean;
import com.scott.crm.role.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 黄后林
 * @version 1.0
 * @note
 * @date 2021-12-04 16:24:31
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleDao roleDao;

    @Override
    public RoleBean findRoleById(Integer id) {
        RoleBean role= roleDao.findRoleById(id);
        return role;
    }
}
